package com.haierp.model.item;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.IdType;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;

public class OuterItem implements Serializable {

	// `id` bigint(19) NOT NULL AUTO_INCREMENT COMMENT '主键',
	// `item_id` bigint(19) NOT NULL COMMENT '商品ID',
	// `outer_type` tinyint(2) NOT NULL COMMENT '外部平台类型',
	// `outer_id` tinyint(2) NOT NULL COMMENT '外部id',
	// `outer_alias` tinyint(2) NOT NULL COMMENT '外部商品别名',
	// `status` tinyint(2) DEFAULT '0' COMMENT '//0新档 1上架 2下架 -1删除',
	/** 主键id */
	@TableId(type = IdType.AUTO)
	private Long id;
	@TableField(value = "item_id")
	private Long itemId;
	@TableField(value = "platform_Type")
	private Integer platformType;
	@TableField(value = "outer_id")
	private Long outerId;
	@TableField(value = "outer_alias")
	private String outerAlias;
	private Integer status;
	@TableField(value = "one_item_id")
	private String oneItemId;
	@TableField(value = "image_ids")
	private String imageIds;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getItemId() {
		return itemId;
	}

	public void setItemId(Long itemId) {
		this.itemId = itemId;
	}

	public Integer getPlatformType() {
		return platformType;
	}

	public void setPlatformType(Integer platformType) {
		this.platformType = platformType;
	}

	public Long getOuterId() {
		return outerId;
	}

	public void setOuterId(Long outerId) {
		this.outerId = outerId;
	}

	public String getOuterAlias() {
		return outerAlias;
	}

	public void setOuterAlias(String outerAlias) {
		this.outerAlias = outerAlias;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getOneItemId() {
		return oneItemId;
	}

	public void setOneItemId(String oneItemId) {
		this.oneItemId = oneItemId;
	}

	public String getImageIds() {
		return imageIds;
	}

	public void setImageIds(String imageIds) {
		this.imageIds = imageIds;
	}
	
}
